﻿<UserControl x:Class="PicasaLight.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:controls="clr-namespace:Microsoft.Windows.Controls;assembly=Microsoft.Windows.Controls"
    Width="930" Height="600" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows">
	<UserControl.Resources>
		<Storyboard x:Name="fadeoutloading">
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grdLoading" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:01" Value="#00000000"/>
			</ColorAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:01" Value="#00000000"/>
			</ColorAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:01" Value="#00FFFFFF"/>
			</ColorAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="FadeInLoadingPics">
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grdLoadingPics" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:01" Value="#66000000"/>
			</ColorAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:01" Value="#FF000000"/>
			</ColorAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rectangle1" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:01" Value="#FFFFFFFF"/>
			</ColorAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="FadeOutLoadingPics">
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grdLoadingPics" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:00" Value="#66000000"/>
				<SplineColorKeyFrame KeyTime="00:00:01" Value="#00000000"/>
			</ColorAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="textBlock1" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF000000"/>
				<SplineColorKeyFrame KeyTime="00:00:01" Value="#00000000"/>
			</ColorAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rectangle1" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:00" Value="#FFFFFFFF"/>
				<SplineColorKeyFrame KeyTime="00:00:01" Value="#00FFFFFF"/>
			</ColorAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="SpinThatThing" RepeatBehavior="Forever">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Layer_1" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
				<SplineDoubleKeyFrame KeyTime="00:00:02" Value="360"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot" Background="White">
    	<Grid.RowDefinitions>
    		<RowDefinition Height="80"/>
            <RowDefinition Height="33"/>
    		<RowDefinition Height="*"/>
            <RowDefinition Height="15"/>
    	</Grid.RowDefinitions>
        <Grid Grid.Row="1">
        	<Grid.Background>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="#FFECECEC"/>
        			<GradientStop Color="#FFFFFFFF" Offset="1"/>
        		</LinearGradientBrush>
        	</Grid.Background>
        	<TextBlock HorizontalAlignment="Left" Margin="8,6,0,8" Width="Auto" 
                       Text="Go to page:" TextWrapping="Wrap" Height="Auto" VerticalAlignment="Center"/>
            <ListBox Margin="78,5,8,5" Background="{x:Null}" x:Name="lstPages" d:LayoutOverrides="HorizontalAlignment">
                <ListBox.ItemsPanel>
                    <ItemsPanelTemplate>
                        <StackPanel Orientation="Horizontal" Width="920" />
                    </ItemsPanelTemplate>
                </ListBox.ItemsPanel>
                <ListBox.Template>
                    <ControlTemplate>
                        <ItemsPresenter />
                    </ControlTemplate>
                </ListBox.Template>
            </ListBox>
        </Grid>
        <ListBox Margin="8" x:Name="lstPhotos" Grid.Row="2">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <Grid Width="146" Height="146">
                        <Grid.Triggers>
                            <EventTrigger RoutedEvent="ContentPresenter.Loaded">
                                <BeginStoryboard>
                                    <Storyboard RepeatBehavior="Forever">
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse1" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:01.5000000" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse2" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
                                            <SplineDoubleKeyFrame KeyTime="00:00:02" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </BeginStoryboard>
                            </EventTrigger>
                        </Grid.Triggers>
                        <Ellipse Fill="#FF000000" Stroke="{x:Null}" Height="5" HorizontalAlignment="Center" VerticalAlignment="Center" Width="5" Opacity="0" x:Name="ellipse" Margin="0,0,15,0"/>
                        <Ellipse Height="5" HorizontalAlignment="Center" Margin="0,0,0,0" VerticalAlignment="Center" Width="5" Fill="#FF000000" Stroke="{x:Null}" Opacity="0" x:Name="ellipse1"/>
                        <Ellipse Fill="#FF000000" Stroke="{x:Null}" Height="5" HorizontalAlignment="Center" VerticalAlignment="Center" Width="5" Opacity="0" x:Name="ellipse2" Margin="15,0,0,0"/>
                        <Image Source="{Binding Path=PreviewURL}" Margin="1,1,1,1" />
                    </Grid>
                </DataTemplate>
            </ListBox.ItemTemplate>
            <ListBox.ItemsPanel>
                <ItemsPanelTemplate>
                    <controls:WrapPanel Orientation="Horizontal" Width="920" />
                </ItemsPanelTemplate>
            </ListBox.ItemsPanel>
            <ListBox.Template>
                <ControlTemplate>
                    <ItemsPresenter />
                </ControlTemplate>
            </ListBox.Template>
        </ListBox>
        <Grid Background="#FFECECEC" x:Name="GridAlbum">
        	<TextBlock HorizontalAlignment="Left" Width="96" Text="Photos" TextWrapping="Wrap" 
                       Margin="8,8,0,0" Foreground="#FFFF8800" VerticalAlignment="Top" Height="27" 
                       FontSize="18" FontFamily="Portable User Interface" FontWeight="Bold"/>
        	<ComboBox HorizontalAlignment="Left" Margin="108,8,0,8" Width="240" x:Name="cmbAlbums">
        		<ComboBox.ItemTemplate>
        			<DataTemplate>
        				<StackPanel Orientation="Horizontal">
        					<Image Height="50" Source="{Binding Path=PreviewURL}" />
        					<StackPanel Orientation="Vertical" Margin="10,0,0,0" 
        						VerticalAlignment="Center" >
        						<TextBlock Text="{Binding Path=Title}"
        							FontSize="14" FontWeight="Bold"  />
        						<StackPanel Orientation="Horizontal">
        							<TextBlock Text="{Binding Path=Photos}" /> 
        							<TextBlock Text=" photos" />
        						</StackPanel>
        					</StackPanel>
        				</StackPanel>   
        			</DataTemplate>
        		</ComboBox.ItemTemplate>
        	</ComboBox>
        	<TextBlock HorizontalAlignment="Left" Margin="8,39,0,22" Width="100" Text="Select an album:" TextWrapping="Wrap"/>
        	<TextBlock Height="20" VerticalAlignment="Top" Text="Album info" TextWrapping="Wrap" Margin="375,6,463,0" Foreground="#FFFF7A00" FontWeight="Normal" FontFamily="Portable User Interface" FontSize="12" FontStyle="Normal" TextDecorations="Underline"/>
        	<TextBlock HorizontalAlignment="Left" Margin="375,0,0,1" Width="41" TextWrapping="Wrap" VerticalAlignment="Bottom" Height="19"><Run Text="Link"/><Run Text=":"/></TextBlock>
        	<TextBlock Margin="375,0,0,18" TextWrapping="Wrap" Width="64" HorizontalAlignment="Left" VerticalAlignment="Bottom" Height="19"><Run Text="Location"/><Run Text=":"/></TextBlock>
        	<TextBlock HorizontalAlignment="Left" Margin="375,26,0,35" Width="76" Text="Description:" TextWrapping="Wrap"/>
        	<TextBlock Margin="445,26,109,35" Text="{Binding Path=Description}" TextWrapping="Wrap"/>
        	<TextBlock Margin="429,0,109,18" Text="{Binding Path=Location}" TextWrapping="Wrap" Height="19" VerticalAlignment="Bottom"/>
        	<HyperlinkButton HorizontalAlignment="Left" Margin="403,0,0,4" VerticalAlignment="Bottom" Content="{Binding Path=AlbumURL}" x:Name="lnkPicasaAlbum"/>
        	<Rectangle HorizontalAlignment="Right" Margin="0,8,8,8" Width="97" Fill="#FFFFFFFF" Stroke="{x:Null}" RadiusX="5" RadiusY="5"/>
        	<Image HorizontalAlignment="Right" Margin="0,28,59,12" Width="40" Height="40" Source="http://www.wouterdevinck.net/webimg/logo/picasa.png" ToolTipService.ToolTip="Picasa Webalbums by Google"/>
        	<TextBlock Height="17" HorizontalAlignment="Right" Margin="0,11,28,0" VerticalAlignment="Top" Width="72" TextWrapping="Wrap" Foreground="#FF656262"><Run Text="Powered by"/><LineBreak/><Run Text=""/></TextBlock>
        	<Image Height="40" HorizontalAlignment="Right" Margin="0,28,13,12" Width="40" Source="http://www.wouterdevinck.net/webimg/logo/silverlight.png" ToolTipService.ToolTip="Microsoft Silverlight 2"/>
        </Grid>
        <Grid Background="#66000000" Grid.RowSpan="4" x:Name="grdLoading" Margin="0,0,0,0" d:IsHidden="True">
        	<Rectangle Margin="0,0,0,0" Fill="#FFFFFFFF" Stroke="{x:Null}" RadiusX="10" RadiusY="10" HorizontalAlignment="Center" VerticalAlignment="Center" Width="250" Height="80" x:Name="rectangle"/>
        	<TextBlock Height="Auto" HorizontalAlignment="Center" Margin="0,0,0,0" x:Name="textBlock" VerticalAlignment="Center" Foreground="#FF000000" TextWrapping="Wrap" d:LayoutOverrides="GridBox"><Run FontSize="36" FontWeight="Bold" Text="Loading..."/></TextBlock>
        </Grid>
        <Grid Grid.Row="1" Grid.RowSpan="3" Background="#00000000" x:Name="grdLoadingPics" Visibility="Collapsed">
        	<Rectangle Height="80" Margin="0,0,0,0" VerticalAlignment="Center" Fill="#00FFFFFF" Stroke="{x:Null}" RadiusX="10" RadiusY="10" Width="250" HorizontalAlignment="Center" x:Name="rectangle1"/>
        	<TextBlock Height="Auto" VerticalAlignment="Center" TextWrapping="Wrap" HorizontalAlignment="Center" x:Name="textBlock1" d:LayoutOverrides="Width, GridBox"><TextBlock.Foreground>
        			<SolidColorBrush/>
        		</TextBlock.Foreground><Run FontSize="36" FontWeight="Bold" Text="Loading..."/></TextBlock>
        </Grid>
        <Grid x:Name="grdPhoto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" d:LayoutOverrides="HorizontalAlignment, VerticalAlignment" Grid.RowSpan="4" Background="{x:Null}" Visibility="Collapsed">
        	<Rectangle Margin="8,8,8,8" Fill="#FFFFFFFF" Stroke="{x:Null}" RadiusX="10" RadiusY="10"/>
        	<Canvas x:Name="Layer_1" Width="50" Height="50" Canvas.Left="0" Canvas.Top="0" Margin="0,0,0,50" RenderTransformOrigin="0.5,0.5">
        		<Canvas.RenderTransform>
        			<TransformGroup>
        				<ScaleTransform/>
        				<SkewTransform/>
        				<RotateTransform/>
        				<TranslateTransform/>
        			</TransformGroup>
        		</Canvas.RenderTransform>
        		<Image Source="/logos/picasa.png" />
			</Canvas>
        	<Image Margin="0,20,0,0" HorizontalAlignment="Center" VerticalAlignment="Top" Width="800" Height="505" Source="{Binding Path=ImageURL}"/>
        	<Button Height="30" HorizontalAlignment="Right" Margin="0,19,19,0" VerticalAlignment="Top" Width="30" Content="Close" FontSize="14" FontWeight="Bold" FontFamily="Verdana" x:Name="btnClose">
        		<Button.Resources>
        			<ControlTemplate x:Key="CloseButton" TargetType="Button">
        				<Grid>
        					<vsm:VisualStateManager.VisualStateGroups>
        						<vsm:VisualStateGroup x:Name="FocusStates">
        							<vsm:VisualState x:Name="Unfocused"/>
        							<vsm:VisualState x:Name="Focused"/>
        						</vsm:VisualStateGroup>
        						<vsm:VisualStateGroup x:Name="CommonStates">
        							<vsm:VisualStateGroup.Transitions>
        								<vsm:VisualTransition GeneratedDuration="00:00:00.2000000" To="MouseOver"/>
        							</vsm:VisualStateGroup.Transitions>
        							<vsm:VisualState x:Name="MouseOver">
        								<Storyboard>
        									<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.StrokeThickness)">
        										<SplineDoubleKeyFrame KeyTime="00:00:00" Value="5"/>
        									</DoubleAnimationUsingKeyFrames>
        									<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.StrokeThickness)">
        										<SplineDoubleKeyFrame KeyTime="00:00:00" Value="5"/>
        									</DoubleAnimationUsingKeyFrames>
        									<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path1" Storyboard.TargetProperty="(Shape.StrokeThickness)">
        										<SplineDoubleKeyFrame KeyTime="00:00:00" Value="5"/>
        									</DoubleAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        							<vsm:VisualState x:Name="Normal"/>
        							<vsm:VisualState x:Name="Pressed">
        								<Storyboard>
        									<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
        										<SplineColorKeyFrame KeyTime="00:00:00" Value="#FFF70202"/>
        									</ColorAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        							<vsm:VisualState x:Name="Disabled"/>
        						</vsm:VisualStateGroup>
        					</vsm:VisualStateManager.VisualStateGroups>
        					<Ellipse Margin="3,3,3,3" x:Name="ellipse" Stroke="#FF950000" StrokeThickness="3">
        						<Ellipse.Fill>
        							<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        								<GradientStop Color="#FFB00000"/>
        								<GradientStop Color="#FFFF0000" Offset="1"/>
        							</LinearGradientBrush>
        						</Ellipse.Fill>
        					</Ellipse>
        					<Path Margin="8,8,8,8" x:Name="path" Stretch="Fill" Stroke="#FF950000" StrokeThickness="3" Data="M18.5,34.25 L31,14.25">
        						<Path.Fill>
        							<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        								<GradientStop Color="#FF800000"/>
        								<GradientStop Color="#FFFF0000" Offset="1"/>
        							</LinearGradientBrush>
        						</Path.Fill>
        					</Path>
        					<Path Margin="8,8,8,8" Stretch="Fill" Stroke="#FF950000" StrokeThickness="3" Data="M18.5,34.25 L31,14.25" x:Name="path1" RenderTransformOrigin="0.5,0.5">
        						<Path.Fill>
        							<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        								<GradientStop Color="#FF800000"/>
        								<GradientStop Color="#FFFF0000" Offset="1"/>
        							</LinearGradientBrush>
        						</Path.Fill>
        						<Path.RenderTransform>
        							<TransformGroup>
        								<ScaleTransform ScaleY="-1"/>
        								<SkewTransform/>
        								<RotateTransform/>
        								<TranslateTransform/>
        							</TransformGroup>
        						</Path.RenderTransform>
        					</Path>
        				</Grid>
        			</ControlTemplate>
        		</Button.Resources>
        		<Button.Template>
        			<StaticResource ResourceKey="CloseButton"/>
        		</Button.Template>
        	</Button>
        	<TextBlock Height="30" Margin="0,0,0,20" VerticalAlignment="Bottom" Text="{Binding Path=Caption}" TextWrapping="Wrap" HorizontalAlignment="Center"/>
        	<Button Height="34" HorizontalAlignment="Right" Margin="0,256,15,0" VerticalAlignment="Top" Width="65" Content="Next" FontSize="12" FontWeight="Normal" FontFamily="Verdana" x:Name="btnNext">
        		<Button.Resources>
        			<ControlTemplate x:Key="buttonnext" TargetType="Button">
        				<Grid>
        					<vsm:VisualStateManager.VisualStateGroups>
        						<vsm:VisualStateGroup x:Name="FocusStates">
        							<vsm:VisualState x:Name="Unfocused"/>
        							<vsm:VisualState x:Name="Focused"/>
        						</vsm:VisualStateGroup>
        						<vsm:VisualStateGroup x:Name="CommonStates">
        							<vsm:VisualStateGroup.Transitions>
        								<vsm:VisualTransition GeneratedDuration="00:00:00.2000000" To="MouseOver"/>
        							</vsm:VisualStateGroup.Transitions>
        							<vsm:VisualState x:Name="MouseOver">
        								<Storyboard>
        									<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.StrokeThickness)">
        										<SplineDoubleKeyFrame KeyTime="00:00:00" Value="5"/>
        									</DoubleAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        							<vsm:VisualState x:Name="Normal"/>
        							<vsm:VisualState x:Name="Pressed">
        								<Storyboard>
        									<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
        										<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF1B00FF"/>
        									</ColorAnimationUsingKeyFrames>
        									<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Offset)">
        										<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.996"/>
        									</DoubleAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        							<vsm:VisualState x:Name="Disabled">
        								<Storyboard>
        									<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
        										<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF5C5C5C"/>
        									</ColorAnimationUsingKeyFrames>
        									<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
        										<SplineColorKeyFrame KeyTime="00:00:00" Value="#FFECECEC"/>
        									</ColorAnimationUsingKeyFrames>
        									<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
        										<SplineColorKeyFrame KeyTime="00:00:00" Value="#FFECECEC"/>
        									</ColorAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        						</vsm:VisualStateGroup>
        					</vsm:VisualStateManager.VisualStateGroups>
        					<Path Stretch="Fill" StrokeThickness="3" StrokeLineJoin="Round" Stroke="#FF0A0063" Data="F1 M 65.4983,20.7001C 65.8316,20.3502 66.1649,20.0001 66.3983,19.5668C 66.6316,19.1335 66.7649,18.6168 66.7066,18.1335C 66.6483,17.6501 66.3983,17.2001 66.0316,16.8001C 65.6649,16.4001 65.1816,16.0501 64.6983,15.7001L 40.198,0.799927C 39.0481,0.249939 37.8981,-0.299988 37.2232,-6.10352e-005C 36.5482,0.299988 36.3482,1.44989 36.1482,2.59979L 36.1482,11.1494C 36.1982,12.1494 36.2482,13.1493 35.7232,13.5743C 35.1983,13.9993 34.0983,13.8493 32.9984,13.6993L 2.69989,6.6496C 1.74994,6.34967 0.79998,6.04962 0.350004,6.37463C -0.0999714,6.69965 -0.0499795,7.6496 2.04974e-005,8.59955L 0.89998,33.0483C 0.89998,33.9982 0.89998,34.9482 1.32496,35.2982C 1.74994,35.6482 2.59989,35.3982 3.44985,35.1482L 33.5983,26.0501C 34.3316,25.9168 35.065,25.7834 35.54,26.1668C 36.0149,26.5501 36.2316,27.4501 36.4483,28.3502L 37.3482,35.5982C 37.5149,37.3322 37.6816,39.0662 38.3316,39.6082C 38.9816,40.1501 40.115,39.5001 41.2483,38.8502L 65.4983,20.7001 Z " Margin="0,0,0,0" x:Name="path">
        						<Path.Fill>
        							<LinearGradientBrush StartPoint="1.02514,0.502818" EndPoint="-0.0242448,0.502818">
        								<GradientStop Color="#FF1A00FF" Offset="0"/>
        								<GradientStop Color="#FF0C0071" Offset="1"/>
        							</LinearGradientBrush>
        						</Path.Fill>
        					</Path>
        				</Grid>
        			</ControlTemplate>
        		</Button.Resources>
        		<Button.Template>
        			<StaticResource ResourceKey="buttonnext"/>
        		</Button.Template>
        	</Button>
        	<Button Height="34" HorizontalAlignment="Left" Margin="15,256,0,0" VerticalAlignment="Top" Width="65" Content="Previous" FontSize="12" FontWeight="Normal" FontFamily="Verdana" x:Name="btnPrevious">
        		<Button.Resources>
        			<ControlTemplate x:Key="previousbutton" TargetType="Button">
        				<Grid>
        					<vsm:VisualStateManager.VisualStateGroups>
        						<vsm:VisualStateGroup x:Name="FocusStates">
        							<vsm:VisualState x:Name="Unfocused"/>
        							<vsm:VisualState x:Name="Focused"/>
        						</vsm:VisualStateGroup>
        						<vsm:VisualStateGroup x:Name="CommonStates">
        							<vsm:VisualStateGroup.Transitions>
        								<vsm:VisualTransition GeneratedDuration="00:00:00.2000000" To="MouseOver"/>
        							</vsm:VisualStateGroup.Transitions>
        							<vsm:VisualState x:Name="MouseOver">
        								<Storyboard>
        									<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.StrokeThickness)">
        										<SplineDoubleKeyFrame KeyTime="00:00:00" Value="5"/>
        									</DoubleAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        							<vsm:VisualState x:Name="Normal"/>
        							<vsm:VisualState x:Name="Pressed">
        								<Storyboard>
        									<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
        										<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF1B00FF"/>
        									</ColorAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        							<vsm:VisualState x:Name="Disabled">
        								<Storyboard>
        									<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
        										<SplineColorKeyFrame KeyTime="00:00:00" Value="#FFECECEC"/>
        									</ColorAnimationUsingKeyFrames>
        									<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
        										<SplineColorKeyFrame KeyTime="00:00:00" Value="#FFECECEC"/>
        									</ColorAnimationUsingKeyFrames>
        									<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
        										<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF5C5C5C"/>
        									</ColorAnimationUsingKeyFrames>
        								</Storyboard>
        							</vsm:VisualState>
        						</vsm:VisualStateGroup>
        					</vsm:VisualStateManager.VisualStateGroups>
        					<Path Stretch="Fill" StrokeThickness="3" StrokeLineJoin="Round" Stroke="#FF0A0063" Data="F1 M 1.20834,20.7001C 0.875008,20.3502 0.541675,20.0002 0.308341,19.5668C 0.0750079,19.1335 -0.0583254,18.6168 7.89265e-006,18.1335C 0.0583412,17.6502 0.308341,17.2001 0.675008,16.8002C 1.04167,16.4002 1.52501,16.0502 2.00834,15.7001L 26.5086,0.799988C 27.6586,0.25 28.8085,-0.299988 29.4835,0C 30.1584,0.299988 30.3584,1.44989 30.5584,2.59985L 30.5584,11.1495C 30.5084,12.1494 30.4584,13.1494 30.9834,13.5743C 31.5084,13.9993 32.6083,13.8493 33.7083,13.6993L 64.0067,6.64966C 64.9567,6.34967 65.9066,6.04968 66.3566,6.37469C 66.8066,6.69965 66.7566,7.6496 66.7066,8.59955L 65.8066,33.0483C 65.8066,33.9983 65.8066,34.9482 65.3817,35.2982C 64.9567,35.6483 64.1067,35.3983 63.2568,35.1483L 33.1083,26.0502C 32.375,25.9168 31.6417,25.7835 31.1667,26.1668C 30.6917,26.5502 30.475,27.4501 30.2583,28.3502L 29.3585,35.5982C 29.1918,37.3322 29.025,39.0662 28.375,39.6082C 27.725,40.1502 26.5917,39.5002 25.4583,38.8502L 1.20834,20.7001 Z " Margin="0,0,0,0" x:Name="path">
        						<Path.Fill>
        							<LinearGradientBrush StartPoint="-0.025138,0.502816" EndPoint="1.02424,0.502816">
        								<GradientStop Color="#FF1A00FF" Offset="0"/>
        								<GradientStop Color="#FF0C0071" Offset="1"/>
        							</LinearGradientBrush>
        						</Path.Fill>
        					</Path>
        				</Grid>
        			</ControlTemplate>
        		</Button.Resources>
        		<Button.Template>
        			<StaticResource ResourceKey="previousbutton"/>
        		</Button.Template>
        	</Button>
		</Grid>
        <TextBlock HorizontalAlignment="Right" Margin="0,0,84,0" Width="127" Grid.Row="3" FontFamily="Verdana" FontSize="10" Text="© 2008 Wouter Devinck" TextWrapping="Wrap" VerticalAlignment="Center"/>
        <HyperlinkButton x:Name="lnkProjectPage" HorizontalAlignment="Right" Width="80" Grid.Row="3" Content="Project page" FontSize="11" FontFamily="Verdana"/>
        <TextBlock Margin="2,0,0,0" FontFamily="Verdana" FontSize="10" Text="PicasaLight v1.2" TextWrapping="Wrap" Grid.Row="3" d:LayoutOverrides="Height" Width="127" HorizontalAlignment="Left" VerticalAlignment="Center" FontWeight="Bold"/>

    </Grid>
</UserControl>
